package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:25 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceConfigPropertyDAO
    extends IDataAccessInterface<WorkspaceConfigProperty, WorkspaceConfigPropertyDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_CONFIG_PROPERTY";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_CONFIG_PROPERTY.ID";

  /** Mapped Field CONFIG_PROPERTY */
  static final String ConfigProperty = "WORKSPACE_CONFIG_PROPERTY.CONFIG_PROPERTY";

  /** Mapped Field CONFIG_VALUE */
  static final String ConfigValue = "WORKSPACE_CONFIG_PROPERTY.CONFIG_VALUE";

  /** Mapped Field DESCRIPTION */
  static final String Description = "WORKSPACE_CONFIG_PROPERTY.DESCRIPTION";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_CONFIG_PROPERTY.STATUS";

  /** Mapped Field WORKSPACE_CONFIG_ID */
  static final String WorkspaceConfigId = "WORKSPACE_CONFIG_PROPERTY.WORKSPACE_CONFIG_ID";

  /** Mapped Field WORKSPACE_ID */
  static final String WorkspaceId = "WORKSPACE_CONFIG_PROPERTY.WORKSPACE_ID";

  /** Mapped Attribute workspaceConfigItem */
  static final String WorkspaceConfigItem =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceConfigDAO.ConfigItem,
          com.ourteam.workspace.dao.IWorkspaceConfigDAO.EntityName + ".",
          "workspaceConfig.");

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute configProperty */
    static final String ConfigProperty = "configProperty";

    /** Attribute configValue */
    static final String ConfigValue = "configValue";

    /** Attribute description */
    static final String Description = "description";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute workspaceConfigId */
    static final String WorkspaceConfigId = "workspaceConfigId";

    /** Attribute workspaceId */
    static final String WorkspaceId = "workspaceId";

    /** Attribute workspaceConfigItem */
    static final String WorkspaceConfigItem = "workspaceConfigItem";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceConfigProperty findById(final long id) throws Exception;
}
